package com.woniuxy.rms.service.impl;

import com.woniuxy.rms.dao.LogsMapper;
import com.woniuxy.rms.pojo.Logs;
import com.woniuxy.rms.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

/**
 * Auther: ChenGang  <br/>
 * Date: 2020/3/28 0028:下午 4:09  <br/>
 * Description:日志服务层
 */
@Service
public class LogServiceImpl implements LogService {

    @Autowired
    private LogsMapper logsMapper;
    @Override
    public List<Logs> findByPage(Integer currentPage, Integer pageSize, String operate, Date begin, Date end, String role) {
        return logsMapper.findByPage(currentPage,pageSize,operate,begin,end,role);
    }
}